home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 42 / PC Gamer IT CD 42 2-2.iso / utility / easycd / EasyCD.inf < prev    next >
Windows Setup INFormation  |  1999-01-30  |  3KB  |  105 lines

  1. ; Author: Linas Purinis
  2. ; installs EasyCD and changes the AUTO play to be my app.
  3.  
  4. [DefaultInstall]
  5. CopyFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
  6. UpdateInis=QCD.Links
  7. AddReg=qcd.reg, QCD.Run
  8. Uninstall=EasyCD_remove
  9.  
  10. [EasyCDInstall]
  11. CopyFiles=QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
  12. UpdateInis=QCD.Links
  13. AddReg=qcd.reg, QCD.Run
  14. Uninstall=EasyCD_remove
  15.  
  16. [EasyCD_remove]
  17. DelFiles = QCD.copy.prog, QCD.copy.hlp, QCD.copy.win, QCD.copy.sys, QCD.copy.inf
  18. AddReg = QCD.reg.restore
  19. DelReg = QCD.reg.remove, QCD.Run
  20. UpdateInis = QCD.Links.Remove
  21.  
  22. [version]
  23. signature="$CHICAGO$"
  24.  
  25. ; F i l e   c o p y i n g   s e c t i o n s (where the go to).
  26. [DestinationDirs]
  27. QCD.copy.sys=11
  28. QCD.copy.hlp=18
  29. QCD.copy.prog=24,%PROGRAMF%\%QCDPROG%
  30. QCD.copy.win=25
  31. QCD.copy.inf=17
  32.  
  33. ; w h a t   f i l e s   a r e   c o p i e d   w h e r e
  34. [QCD.copy.prog]
  35.  
  36. [QCD.copy.win]
  37. EasyCD.exe
  38.  
  39. [QCD.copy.sys]
  40.  
  41. [QCD.copy.hlp]
  42.  
  43. [QCD.copy.inf]
  44. EasyCD.inf
  45.  
  46.  
  47. ; W h e r e   t h e   f i l e s   c o m e   f r o m
  48. [SourceDisksNames]
  49. 55="Easy CD Player","",1
  50.  
  51. [SourceDisksFiles]
  52. EasyCD.exe=55
  53. EasyCD.Inf=55
  54.  
  55. ; L o c a l i s e d   s t u f f 
  56. [Strings]
  57. PROGRAMF     = "Progra~1"
  58. QCDPROG      = "EasyCD"             ;
  59. QCDPROG_LOCN = "Accessories\Entertainment"   ; shortcut location
  60. QCD_Desc     = "EasyCD"                 ; shortcut name
  61. QCD_REMOVE_DESC = "EasyCD (Remove Only)"
  62. QCD_ShortDesc= "Tray notification audio CD Player" ; details view
  63. ;StartUp_DESC       = "Startup"
  64.  
  65.  
  66. ; L i n k s   /   S h o r t c u t s
  67. [QCD.Links]
  68. setup.ini, progman.groups,,"group55=%QCDPROG_LOCN%"
  69. setup.ini, group55,,"""%QCD_Desc%"", ""%25%\EasyCD.Exe"",,,,,%QCD_ShortDesc%"
  70. ;setup.ini, progman.groups,, "group1=%StartUp_DESC%"
  71. setup.ini, group1,, """%QCD_Desc%"", ""%25%\EasyCD.Exe /resume"",,,,,%QCD_ShortDesc%"
  72.  
  73. ; L i n k s   /   S h o r t c u t s - Removal.
  74. [QCD.Links.Remove]
  75. setup.ini, progman.groups,,"group55=%QCDPROG_LOCN%"
  76. setup.ini, group55,,"""%QCD_Desc%""
  77. ;setup.ini, progman.groups,, "group1=%StartUp_DESC%"
  78. setup.ini, group1,, """%QCD_Desc%""
  79.  
  80. ; A u d i o   A s s o c i a t i o n
  81. [qcd.reg]
  82. HKCR,AudioCD,,,"AudioCD"
  83. HKCR,AudioCD,"EditFlags",1,02,00,00,00
  84. HKCR,AudioCD\DefaultIcon,,,"%11%\shell32.dll,40"
  85. HKCR,AudioCD\shell,,,"play"
  86. HKCR,AudioCD\shell\play,,,"&Play"
  87. HKCR,AudioCD\shell\play\command,,,"%25%\EasyCD.exe /play %1"
  88. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\EasyCD,DisplayName,,"%QCD_REMOVE_DESC%"
  89. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\EasyCD,UninstallString,,"RunDll setupx.dll,InstallHinfSection EasyCD_remove 4 EasyCD.inf"
  90.  
  91. [qcd.reg.remove]
  92. HKCR,AudioCD\shell\play\command,,,"%25%\EasyCD.exe /play %1"
  93. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\EasyCD,,,
  94. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\EasyCD,DisplayName,,"%QCD_DESC%"
  95. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\EasyCD,UninstallString,,"RunDll setupx.dll,InstallHinfSection EasyCD_remove 4 EasyCD.inf"
  96.  
  97. ; U n d o   A u d i o   A s s o c i a t i o n
  98. [qcd.reg.restore]
  99. HKCR,AudioCD\shell\play\command,,,"%25%\cdplayer.exe /play %1"
  100.  
  101.  
  102. ; R u n   o n c e   i n s t a l l e d
  103. [qcd.run]
  104. ; HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,foo,,"%10%\EasyCD.exe"
  105.